package com.hmall.search.service;

import com.hmall.common.domain.PageDTO;
import com.hmall.search.domin.ItemPageQuery;
import com.hmall.search.domin.po.ItemDoc;

import java.io.IOException;
import java.util.List;

/**
 * TODO
 *
 * @Author mr.wu
 * @Data #{DATE} #{TIME}
 */
public interface ISearchService {

    PageDTO<ItemDoc> searchPage(ItemPageQuery query) throws IOException;

    List<String> suggestion(String key) throws IOException;
}
